package com.service;

import com.pojo.Epidemic;
import com.pojo.EpidemicSum;
import org.springframework.web.bind.annotation.PathVariable;

import java.text.ParseException;
import java.util.List;

/**
 * @author ZhaoJiaDong
 * @version 2020.1
 * @date 2022/11/19 0019 14:41
 */
public interface EpidemicService {
    public boolean add(Epidemic epidemic);
    public List<Epidemic> findByPage(Integer currentPage,Integer pageSize,String username);
    public List<Epidemic> findDetails(Integer id);
    public boolean deleteById(Integer id);
    public int check(String uid);
    public List<EpidemicSum> findSumDataByPage(Integer currentPage, Integer pageSize);
    public List<String> findPhone();
    public boolean updateReservation(Integer reservation);
}
